import hashlib

from fastapi import APIRouter

from service import attendance

router = APIRouter()


@router.get("/login", summary="登录")
def login():
	attendance.login("18902155179", hashlib.md5("Hang1234".encode()).hexdigest())
	return {"msg": "ok"}
